LassoScript Utility
Basics Browse Detail

[BigInt->SetFormat]

Tag Link [BigInt->SetFormat] Category Math
Type Member Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type None Security None
Implementation Sets Lasso 8.5

Description

[BigInt->SetFormat] sets the format for the output of big integer values. The tag accepts a -GroupChar parameter to set a character which will be inserted into the output every third position to mark off thousands.

Padding can be turned on using -Padding with the desired minimum length for the output. By default a space is used for padding and the padding is inserted to the left of the value. The padding character can be set to a different character using -PadChar and the padding can be switched to the right side of the value using -PadRight.

Syntax

[(BigInt: '10000000000000000000')->(SetFormat: -GroupChar=',') &]

[(BigInt: '10000000000000000000')->(SetFormat: -Padding=64, -PadChar='0') &]

Parameters

Optional Parameters
-GroupChar The character to use every third position in the output to designate thousands.
-Padding The minimum length for the output.
-PadChar The character to use to pad the output. Defaults to a space.
-PadRight If specified then the right side of the output will be padded.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.